package com.pucong.gitee.database.backup.common.entity.service;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("AUTO_SERVICE_LINUX_LOG")
@ApiModel("linux 命令执行记录表")
public class ServiceLinuxLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "UUID",type = IdType.INPUT)
    @ApiModelProperty("主键")
    private String uuid;

    @TableField("SERVICE_ID")
    @ApiModelProperty("服务器id")
    private String serviceId;

    @TableField("SESSION_ID")
    @ApiModelProperty("会话id")
    private String sessionId;

    @TableField("EXE_CMD")
    @ApiModelProperty("执行命令")
    private String exeCmd;

    @TableField("EXE_BY")
    @ApiModelProperty("创建人id")
    private String exeBy;

    @TableField("EXE_TIME")
    @ApiModelProperty("创建时间")
    private Date exeTime;
}
